﻿using System;
using System.ComponentModel.DataAnnotations;
using Data.AggregateRoot;
using Data.IdentityEntities;

namespace Data.Entities
{
    /// <summary>
    /// 用户角色
    /// </summary>
    public class SysUserRole : AppUserRole
    {
        /// <summary>
        /// 用户主键
        /// </summary>
        [Required]
        public override Guid UserId { get; set; }
        /// <summary>
        /// 角色主键
        /// </summary>
        [Required]
        public override Guid RoleId { get; set; }
    }
}